# -*- coding: utf-8 -*-
"""
Created on Mon Apr 29 10:29:45 2019

@author: LENOVO
"""
fileName = 'programming.txt'

with open(fileName,'w') as file_object:
    file_object.write('I love programming.\n')
    file_object.write('I love creating new games.\n')
    
with open(fileName, 'a') as file_object:
    file_object.write("I also love finding meaning in large datasets.\n")
    file_object.write("I love creating apps that can run in a browser.\n")
    
